package com.ktjy.mapper;

import com.ktjy.pojo.CropRoom;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface CropMapper {
    public List<CropRoom> selectAll(@Param("cropName") String cropName, @Param("price") double price, @Param("PageSize") int PageSize, @Param("PageBegin") int PageBegin);
    public int add(CropRoom cropRoom);
    public int delete(@Param("cropId") int cropId);
    public int update(CropRoom cropRoom);
    public CropRoom detailFlower(@Param("cropId") int cropId);
    public  int count(@Param("cropName") String cropName, @Param("price") double price);
}
